<?php
namespace system\exceptions;

/**
 * {@link Exception} thrown when template associated were not found
 *
 * @see Exception
 * @package system\exceptions
 * @author Pavel Egorov {@link mailto:pavel@egorov.ru pavel@egorov.ru}
 * @version 0.0.1 * $Revision: 50 $
 * @copyright Copyright (c) 2011, Pavel Egorov
 */
class NullTemplateException extends \Exception{
    /**
     * Constructor
     * @param String $item - name of template which cause an exception
     */
    public function __construct($item){
        parent::__construct('The xsl template ('.$item.') attached to document NULL or not found');
    }
}

